<?php

/**
 * Subclass for representing a row from the 'list_countries' table.
 *
 * 
 *
 * @package lib.model
 */ 
class ListCountries extends BaseListCountries
{
  function ListCountries(){
    $this->setIden('');
    $this->setName('');
    $this->setCurrencyName('');
    $this->setCurrencyCode('');
  }
  
  function save(PropelPDO $con=null){
    $this->setCurrencyCode(strtoupper($this->getCurrencyCode()));
    parent::save($con);
  }
  
  function __toString(){
    return $this->getName();
  }
  
}
